Skip to content

Conversation

@vga91
Copy link
Contributor

@vga91 vga91 commented Nov 19, 2025

Added Pydantic AI documentation with pydantic_neo4j package.

Note:: there is also a pydantic_graph, more general purpose.
pydantic_neo4j doesn't leverage pydantic_graph and its Graph class but has a own Graph class which is quite similar.

def __init__(self, uri, user, password):
self.db = PydanticNeo4j(uri=uri, username=user, password=password)

async def create_user_func(self, name: str, email: str):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably pick a better example than just storing and retrieving a user and then doing a addition example ?

That's not really what you'd use a graph database for or? We can use one of the demo databases (e.g. companies) if we want to use an existing dataset and expose 1-3 tools for that db (you can pick the tools from here) and ask a question around that

https://github.com/neo4j-examples/neo4j-gcp-vertex-ai-langchain/blob/main/toolbox-companies/tools.yaml

@jexp
Copy link
Contributor

jexp commented Dec 16, 2025

Perhaps we should mention both Packages? (esp. the more graphy one), I guess this is definitely an area of improvement.

Perhaps @alexthomas93 has a comment on this as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants